package com.ynet.finmall.inmanage.dao;

import com.ynet.finmall.inmanage.model.ImRole;
import com.ynet.finmall.inmanage.model.ImRoleQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ImRoleDao {
    int countByExample(ImRoleQuery example);

    int deleteByExample(ImRoleQuery example);

    int deleteByPrimaryKey(String roleId);

    int insert(ImRole record);

    int insertSelective(ImRole record);

    List<ImRole> selectByExample(ImRoleQuery example);

    ImRole selectByPrimaryKey(String roleId);

    int updateByExampleSelective(@Param("record") ImRole record, @Param("example") ImRoleQuery example);

    int updateByExample(@Param("record") ImRole record, @Param("example") ImRoleQuery example);

    int updateByPrimaryKeySelective(ImRole record);

    int updateByPrimaryKey(ImRole record);
}